<%@ taglib prefix="html" uri="/WEB-INF/struts-html.tld" %>
<%@ taglib uri="/WEB-INF/displaytag.tld" prefix="display"%>
<%@ taglib prefix="logic" uri="/WEB-INF/struts-logic.tld" %>
<%@ taglib prefix="bean" uri="/WEB-INF/struts-bean.tld" %>

<div style="width: 100%; text-align: left; align: left;">
	<table class="onglet"><tr>
		<td class="selected"><html:link page="/SearchProduct.do">Search</html:link></td>
		<td><html:link page="/ListProduct.do">Liste</html:link></td>
		<td><html:link page="/AddProduct.do">Add</html:link></td>
		<td><bean:message key="remove" /></td>
	</tr></table>
</div>
<div class="ongletline"></div><br />


<html:form action="SearchProduct.do">
	<html:text property="search_name" size="10"></html:text>
	<html:submit><bean:message key="search" /></html:submit>
</html:form>


<display:table name="searchProduct" sort="list" pagesize="10" class="displaytable" requestURI="/SearchProduct.do" decorator="decorator.produitDecorator" export="true">

	<display:setProperty name="paging.banner.placement" value="both" />
	<display:setProperty name="paging.banner.item_name" value="product" />
	<display:setProperty name="paging.banner.items_name" value="products" />
	<display:setProperty name="css.th.sortable" value="displaythsortable" />

	<display:column property="myImg" title="" media="html"/>
	<display:column property="nom" sortable="true" title="nom" />
	<display:column property="prixHt" sortable="true" title="HT" />
	<display:column property="TVA" title="TVA" />
	<display:column property="quantity" sortable="true" title="quantity" />
	<display:column property="nombreStock" sortable="true" title="stock" />
	<display:column property="nombreRayon" sortable="true" title="rayon" />
	<display:column property="delete" title="" />
	<display:column property="buy" title="" />

</display:table>
